CONST
{component type value}
StandardCompressionType = 'scdi'; {standard image-compression }
{ dialog component type}
StandardCompressionSubType = 'imag'; {standard image-compression }
{ dialog component subtype}
{preference flags}
scListEveryCodec = $2; {list all components}
scAllowZeroFrameRate = $4; {allow 0 frame rate}
scAllowZeroKeyFrameRate = $8; {allow 0 key frame rate}
scShowBestDepth = $10; {allow "best depth"}
scUseMovableModal = $20; {use movable dialog box}
{values for testFlags parameter of functions that set test image}
scPreferCropping = 1; {crop image to fit}
scPreferScaling = 2; {shrink image to fit}
scPreferScalingAndCropping = 3; {shrink then crop}
{dimensions of the test image portion of the dialog box}
scTestImageWidth = 80; {test width of image}
scTestImageHeight = 80; {test height of image}
{possible items returned by hook function}
scOKItem = 1; {user clicked OK}
scCancelItem = 2; {user clicked Cancel}
scCustomItem = 3; {user clicked custom button}
{result returned when user canceled}
scUserCancelled = 1; {user canceled dialog}
{selectors for standard image-compression dialog components}
kScPositionRect = 2; {SCPositionRect}
kScPositionDialog = 3; {SCPositionDialog}
kScSetTestImagePictHandle = 4; {SCSetTestImagePictHandle}
kScSetTestImagePictFile = 5; {SCSetTestImagePictFile}
kScSetTestImagePixMap = 6; {SCSetTestImagePixMap}
kScGetBestDeviceRect = 7; {SCGetBestDeviceRect}
kScRequestImageSettings = $A; {SCRequestImageSettings}
kScCompressImage = $B; {SCCompressImage}
kScCompressPicture = $C; {SCCompressPicture}
kScCompressPictureFile = $D; {SCCompressPictureFile}
kScRequestSequenceSettings = $E; {SCRequestSequenceSettings}
kScCompressSequenceBegin = $F; {SCCompressSequenceBegin}
kScCompressSequenceFrame = $10; {SCCompressSequenceFrame}
kScCompressSequenceEnd = $11; {SCCompressSequenceEnd}
kScDefaultPictHandleSettings = $12; {SCDefaultPictHandleSettings}
kScDefaultPictFileSettings = $13; {SCDefaultPictFileSettings}
kScDefaultPixMapSettings = $14; {SCDefaultPixMapSettings}
kScGetInfo = $15; {SCGetInfo}
kScSetInfo = $16; {SCSetInfo}
kScNewGWorld = $17; {SCNewGWorld}
{selectors included for compatibility with earlier linked version }
{ of standard image-compression dialog component}
kScShowMotionSettings = 1; {SCShowMotionSettings}
kScGetCompression = 1; {SCGetCompression}
kScSettingsChangedItem = -1; {SCSettingsChangedItem}
{SCSetInfo and SCGetInfo request types}
scSpatialSettingsType = 'sptl'; {spatial options}
scTemporalSettingsType = 'tprl'; {temporal options }
scDataRateSettingsType = 'drat'; {data rate }
scColorTableType = 'clut'; {color table}
scProgressProcType = 'prog'; {progress function}
scExtendedProcsType = 'xprc'; {extended dialog}
scPreferenceFlagsType = 'pref'; {preferences }
scSettingsStateType = 'ssta'; {all settings}
scSequenceIDType = 'sequ'; {sequence ID}
scWindowPositionType = 'wndw'; {window position}
scCodecFlagsType = 'cflg'; {compression flags}